import request from "@/utils/request";
import { useStore } from "vuex";
// 获取个人认证审核列表
export const getPersonalCertificate = async (data = {}) => {
    return await request.get("/sxnf_user/user/get_page_by_certified", data).then((res) => {
        return res;
    });
};
// 获取审核用户详细信息
export const getAuditUserInfo = async (data = {}) => {
    return await request.get("/sxnf_user/user/getByUserId", data).then((res) => {
        return res;
    });
};
// 审核通过
export const passTheAudits = async (data = {}) => {
    return await request.put("/sxnf_user/user/certified_agree", data).then((res) => {
        return res;
    });
};
// 审核不通过
export const failTheAudits = async (data = {}) => {
    return await request.put("/sxnf_user/user/certified_disagree", data).then((res) => {
        return res;
    });
};
// 获取个人认证审核列表
export const getTeamCertificate = async (data = {}) => {
    return await request.get("/sxnf_team/team_certified/queryByPage", data).then((res) => {
        return res;
    });
};